package com.homework.test16;

public class Architect extends Designer {
    private int gupiao;

    public Architect(int id, String name, int age, double salary, double prize, int gupiao) {
        super(id, name, age, salary, prize);
        this.gupiao = gupiao;
    }

    public Architect(double prize, int gupiao) {
        super(prize);
        this.gupiao = gupiao;
    }

    public int getGupiao() {
        return gupiao;
    }

    public void setGupiao(int gupiao) {
        this.gupiao = gupiao;
    }

    public String getInfo() {
        return super.getInfo() + "\t" + gupiao;
    }
}
